package com.vil.mapper;

import com.vil.entity.Charge;
import com.vil.entity.Function;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ChargeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Charge record);

    int insertSelective(Charge record);

    Charge selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Charge record);

    int updateByPrimaryKey(Charge record);


    List<Charge> getListByManyConditions(Charge recode);
    //批量删除
    int deleteMany(Long[] array);
}